<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Gestion_Des_Inscriptions_Universitaires:  Fichier source de /home/omid/Bureau/projet/gestion-des-inscriptions-universitaires-version-finale/src/Login.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gestion_Des_Inscriptions_Universitaires</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_login_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Login.h</div>  </div>
</div>
<div class="contents">
<a href="_login_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef _LOGIN_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define _LOGIN_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="comment">/* ********************************************************************* */</span>
<a name="l00013"></a>00013 <span class="comment">/*                                                                       */</span>
<a name="l00014"></a>00014 <span class="comment">/*                       Librairies de Login                                */</span>
<a name="l00015"></a>00015 <span class="comment">/*                                                                       */</span>
<a name="l00016"></a>00016 <span class="comment">/* ********************************************************************* */</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="_util_str_8h.html" title="Fichier d&#39;entête du module utilitaireString.">UtilStr.h</a>&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="_chemin_8h.html">Chemin.h</a>&quot;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="comment">/* ********************************************************************* */</span>
<a name="l00028"></a>00028 <span class="comment">/*                                                                       */</span>
<a name="l00029"></a>00029 <span class="comment">/*                        Définitions de types                           */</span>
<a name="l00030"></a>00030 <span class="comment">/*                                                                       */</span>
<a name="l00031"></a>00031 <span class="comment">/* ********************************************************************* */</span>
<a name="l00032"></a>00032 
<a name="l00042"></a><a class="code" href="structs_login.html">00042</a> <span class="keyword">struct </span><a class="code" href="structs_login.html">sLogin</a>
<a name="l00043"></a>00043 {
<a name="l00044"></a><a class="code" href="structs_login.html#a1ab57b7c9b2769b2b3dd71880510a3e5">00044</a>     <span class="keywordtype">char</span> * <a class="code" href="structs_login.html#a1ab57b7c9b2769b2b3dd71880510a3e5">identifiant</a>;
<a name="l00045"></a><a class="code" href="structs_login.html#a24c6fd1809a1a4746ce26a4fc03d1131">00045</a>     <span class="keywordtype">char</span> * <a class="code" href="structs_login.html#a24c6fd1809a1a4746ce26a4fc03d1131">mdp</a>;
<a name="l00046"></a><a class="code" href="structs_login.html#aa42a8bd9d98d32d8aa8c3a6a569a5a78">00046</a>     <span class="keywordtype">int</span> <a class="code" href="structs_login.html#aa42a8bd9d98d32d8aa8c3a6a569a5a78">type</a>;
<a name="l00047"></a>00047 };
<a name="l00048"></a>00048 
<a name="l00053"></a><a class="code" href="_login_8h.html#a07345bc3a0b255dc5d660e0d2c1fbe77">00053</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_login.html">sLogin</a> <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>;
<a name="l00054"></a>00054 
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#ac250ecea328eee8860fd9d450fac12a0">initLogin</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> * log,<span class="keywordtype">char</span>* <span class="keywordtype">id</span>,<span class="keywordtype">char</span> *<a class="code" href="structs_login.html#a24c6fd1809a1a4746ce26a4fc03d1131">mdp</a>, <span class="keywordtype">int</span> <a class="code" href="structs_login.html#aa42a8bd9d98d32d8aa8c3a6a569a5a78">type</a>);
<a name="l00067"></a>00067 
<a name="l00077"></a>00077 <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *<a class="code" href="_login_8c.html#aedb2530252090bdaa3b2e5579b635903">creLogin</a>(<span class="keywordtype">char</span>* <span class="keywordtype">id</span>,<span class="keywordtype">char</span> *<a class="code" href="structs_login.html#a24c6fd1809a1a4746ce26a4fc03d1131">mdp</a>, <span class="keywordtype">int</span> <a class="code" href="structs_login.html#aa42a8bd9d98d32d8aa8c3a6a569a5a78">type</a>);
<a name="l00078"></a>00078 
<a name="l00086"></a>00086 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#ad6128cba3597f70484b3c176f38923eb">liblog</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *log);
<a name="l00087"></a>00087 
<a name="l00095"></a>00095 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#a3355a46626e1a44081e78fc26f4ccb97">detLog</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> ** log);
<a name="l00096"></a>00096 
<a name="l00097"></a>00097 <span class="comment">/* ******************************************************************** */</span>
<a name="l00098"></a>00098 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00099"></a>00099 <span class="comment">/*           Accesseurs et Mutateurs de la structure Login                */</span>
<a name="l00100"></a>00100 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00101"></a>00101 <span class="comment">/* ******************************************************************** */</span>
<a name="l00109"></a>00109 <span class="keywordtype">char</span> *<a class="code" href="_login_8c.html#acc367374c9bb168293fb3be4f062192f">getId</a>(<span class="keyword">const</span> <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *);
<a name="l00110"></a>00110 
<a name="l00119"></a>00119 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#a26ab85466b66ebfaea04b89bdba206f7">setId</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *,<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structs_login.html#a1ab57b7c9b2769b2b3dd71880510a3e5">identifiant</a>);
<a name="l00120"></a>00120 
<a name="l00129"></a>00129 <span class="keywordtype">char</span> * <a class="code" href="_login_8h.html#a7207f40d3d642b8e1dbefcd48754c9ed">getmdp</a>(<span class="keyword">const</span> <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>*);
<a name="l00130"></a>00130 
<a name="l00139"></a>00139 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#ac14804e9f74588484edfcc4887575041">setMdp</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *,<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structs_login.html#a24c6fd1809a1a4746ce26a4fc03d1131">mdp</a>);
<a name="l00140"></a>00140 
<a name="l00148"></a>00148 <span class="keywordtype">int</span> <a class="code" href="_login_8c.html#abd28ab9dda80bd693bb8f2d4ab3f15fc">getTypeLog</a>(<span class="keyword">const</span> <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>*);
<a name="l00149"></a>00149 
<a name="l00158"></a>00158 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#abd2722e822cc2d88752087b7841459c1">setTypeLog</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *,<span class="keyword">const</span> <span class="keywordtype">int</span> typelog);
<a name="l00159"></a>00159 
<a name="l00167"></a>00167 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#a0d9988d37f69428fc0384325b7b9731a" title="Afficher l&#39;etu.">affLogin</a>(<span class="keyword">const</span> <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *);
<a name="l00168"></a>00168 
<a name="l00169"></a>00169 <span class="comment">/* ********************************************************************* */</span>
<a name="l00170"></a>00170 <span class="comment">/*                                                                       */</span>
<a name="l00171"></a>00171 <span class="comment">/*             Fonctions relatives aux gestiond&#39;Login                       */</span>
<a name="l00172"></a>00172 <span class="comment">/*                                                                       */</span>
<a name="l00173"></a>00173 <span class="comment">/* ********************************************************************* */</span>
<a name="l00174"></a>00174 
<a name="l00185"></a>00185 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#a4f481b5c9502fca93a187dd0792f99c0">savLog</a>( <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *pLog);
<a name="l00186"></a>00186 
<a name="l00196"></a>00196 <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>* <a class="code" href="_login_8c.html#ae7e375a458624e4e0cf2a5481f13fcc1">rchLogParIdMdp</a>( <span class="keywordtype">char</span>* <a class="code" href="structs_login.html#a1ab57b7c9b2769b2b3dd71880510a3e5">identifiant</a>, <span class="keywordtype">char</span>*<a class="code" href="structs_login.html#a24c6fd1809a1a4746ce26a4fc03d1131">mdp</a>);
<a name="l00197"></a>00197 
<a name="l00207"></a>00207 <a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a> *<a class="code" href="_login_8c.html#a0adb7eb8c66cb50b17ad8cda7885a7cd">recLoginParId</a>( <span class="keywordtype">char</span>* pId);
<a name="l00208"></a>00208 
<a name="l00218"></a>00218 <span class="keywordtype">int</span>  <a class="code" href="_login_8c.html#ad41537f58558a1f9fda76afc2d00a2f6" title="supLog">supLog</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>*log);
<a name="l00219"></a>00219 
<a name="l00220"></a>00220 <span class="keywordtype">int</span>  <a class="code" href="_login_8c.html#ad10f9f3c2d2e1471188c98e497c77255" title="supLogParId">supLogParId</a>(<span class="keywordtype">char</span>  <span class="keywordtype">id</span>[]);
<a name="l00221"></a>00221 
<a name="l00233"></a>00233 <span class="keywordtype">int</span> <a class="code" href="_login_8c.html#ac08e1f6c6cb94efbe627bbe01fbaab06" title="modifLogin">modifLogin</a>(<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>*log,<a class="code" href="struct_login.html" title="Structure utilisée pour la gestion d&#39;une Login.">Login</a>*log2);
<a name="l00234"></a>00234 
<a name="l00235"></a>00235 
<a name="l00243"></a>00243 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#a3a74b0b7f5f29e9ebf5a6b975c6d25e0">affLog_DB</a>();
<a name="l00244"></a>00244 
<a name="l00249"></a>00249 <span class="keywordtype">void</span> <a class="code" href="_login_8c.html#a7812340c61e64a950464b9d81543dade">regLog</a>();
<a name="l00250"></a>00250 
<a name="l00251"></a>00251 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_login_8h.html">Login.h</a>      </li>
      <li class="footer">Généré le Thu Jun 7 2012 17:01:10 pour Gestion_Des_Inscriptions_Universitaires par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
